package com.wp.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * productDTO
 *
 * @author wp
 * @date 2020 / 10 / 14 : 16:58
 **/
@Data
public class ProductDTO {

    private Long id;

    @NotNull(message = "名称不能为空")
    private String name;

    private Integer num;

    private Date creatTime;

    private Date updateTime;


}
